@import "elements";
@import "tango";

//widths
@w_blog_list: 600px;
@w_side_column: 300px;
@w_col_sidespace: 10px;

@bold: 700;

#body_content {
    padding: 20px;
    margin: auto;
    width: @w_blog_list + @w_side_column + ( @w_col_sidespace * 4 );
}

#frontend_table {
    display: table;
    margin-top: 10px;

    .frontend_tr {
        display: table-row;

        .frontend_td {
            display: table-cell;
        }
    }
}

#frontend_blog_list {
    display: table-cell;
    width: @w_blog_list;
    padding-left: @w_col_sidespace;
    padding-right: @w_col_sidespace;

    .blog_entry_excerpt {
        display: table;
        border-top: 2px solid @color_tango_orange_2;
        margin-bottom: 20px;
        padding-left: 20px;
        padding-right: 20px;

        .blog_entry_excerpt_heading {
            display: table-row;

            .timestamp, .title {
                display: table-cell;
                padding-top: 10px;
            }

            .timestamp {
                font-size: 11pt;
                font-weight: @bold;
                width: @w_blog_list / 3;

                .timestamp_date {
                    color: @color_tango_scarletred_1;
                }

                .timestamp_time {
                    color: @color_tango_aluminium_3;
                }

            }

            .title {
                font-size: 20pt;
                width: 2 * (@w_blog_list / 3);
            }
        }
        .blog_entry_excerpt_body {
            display: table-row;

            .social_buttons, .blog_excerpt_text {
                display: table-cell;
                padding-top: 10px;
            }

            .social_buttons {
                width: @w_blog_list / 3;

                .facebook_like, .google_plus {
                    float: left;
                    margin: 10px;
                }
            }

            .blog_excerpt_text {
                vertical-align: top;
                font-size: 12pt;
                width: 2 * (@w_blog_list / 3);
            }
        }
    }
}

#frontend_side_column {
    display: table-cell;
    width: @w_side_column;
    padding-left: @w_col_sidespace;
    padding-right: @w_col_sidespace;

    .tag_cloud_head {
        color: @color_tango_skyblue_2;
        font-size: 14pt;
        font-weight: @bold;
        text-align: center;
        border-top: 2px solid @color_tango_orange_2;
        padding-top: 20px;
    }

    .tag_cloud {
        font-size: 10pt;
        text-align: justify;
        padding: 20px;
        color: @color_tango_aluminium_3;

        a {
            text-decoration: none;
        }
    }
}

#blog_entry_pager {
    margin-left: @w_blog_list / 3;
    margin-bottom: 30px;
    margin-top: 30px;
    height: 30px;

    a {
        text-decoration: none;
        color: @color_tango_aluminium_6;
    }

    .blog_entry_page_number {
        float: left;
        font-size: 14pt;
        margin-left: 10px;
        width: 30px;
        height: 30px;
        vertical-align: middle;
        text-align: center;
        background-color: @color_tango_aluminium_1;
        border: 2px solid @color_tango_aluminium_3;
        .rounded(10px);
    }

    .blog_entry_pager_first {
        margin-right: 10px;
    }

    .blog_entry_pager_last {
        margin-left: 20px;
    }
}
